<?php
defined('BASEPATH') or die ('No direct script access allowed');
function sign_up_form_helper(){
	$var='';
	$attr=array('id'=>'signUpForm','class'=>'signform','name'=>'signUpForm');
	$var.=form_open('sign/sign_up',$attr);
	$d=array(
	   'name'=>'username',
	   'id'=>'username',
	   'size'=>'25',
	   'value'=>'',
	   'maxsize'=>50
	);
	$var.=form_label('Username:','usernmae');
	$var.=form_input($d);
	$var.=form_label('Name:','name');
    $var.=form_input(array('id'=>'name','name'=>'name','size'=>'50','value'=>'','maxsize'=>'100'));
    
    $var.=form_label('Email','email');
    $var.=form_input(array('id'=>'email','name'=>'email','size'=>'25','maxsize'=>'100','value'=>''));
    
	$pwd1=array(
        'id'=>'password',
        'name'=>'password',
        'size'=>25,
        'value'=>''
	 );
	 $pwd2=array(
	   'id'=>'password2',
	   'name'=>'password2',
	   'size'=>25,
	   'value'=>''
	 );
	$var.=form_label('Password:','password');
	$var.=form_password($pwd1);
	$var.=form_label('Passwrod Comfirm','password2');
	$var.=form_password($pwd2);
	$var.=form_submit(array('name'=>'submit','id'=>'submit','value'=>'Submit'));
	$var.='</form>';
	
	
	return $var;
}